from django.conf.urls import patterns, url

urlpatterns = patterns('django_study.views',
    url('^index/$', 'home'),
    url('^time/$', 'time'),
    url('^foo/(\d{4})/(\w+)/$', 'foo'),
    url('^bar/(?P<id>\d{4})/(?P<name>\w+)/$', 'bar'),
    url('^students/$', 'students'),
    url('^view1/$', 'view1'),
    url('^view2/$', 'view2'),

)